package com.clickpaas.materialsprocurement.dao;

import com.bizcloud.ipaas.t0ba0ba6afb694026b6b4e4e048af2b43.d20210202135416.model.STDmaterielDTOPageInfoResponse;
import com.bizcloud.ipaas.t0ba0ba6afb694026b6b4e4e048af2b43.d20210202135416.model.STDmaterielDTOResponse;
import com.clickpaas.materialsprocurement.entity.MaterialsEntity;

import java.util.List;

public interface MaterialsDao {

    /**
     * 根据条件查询物料数据
     * @return List<STDmaterielDTO1>
     */
    public List<STDmaterielDTOResponse> queryMaterialsInfo(MaterialsEntity materialsEntity);

    /**
     * 分页查询全部物料数据
     * @return List<STDmaterielDTO1>
     */
    public List<STDmaterielDTOPageInfoResponse> queryMaterialsInfo();

    /**
     * 物料数据入库
     * @return boolean
     */
    public boolean insertMaterialsInfo(MaterialsEntity materialsEntity);
}
